﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace common
{
    class LogHelp
    {
        public static void writelog(string s)
        {
            Console.WriteLine(s);

            using (StreamWriter sw = new StreamWriter("log.txt", true))
            {
                sw.Write(s);
                sw.Close();
            }

        }
    }
}
